<?php

class PurchaseTransferPageLink extends Extension {
	function getPurchaseTransfer(){
        $page = PurchaseTransferPage::get()->find('ClassName', 'PurchaseTransferPage');
        if($page) return $page;
    }
    
    function getPurchaseTransferLink() {
        $page = $this->getPurchaseTransfer();
        if($page) return $page->Link();
    }
	
    function getPurchaseTransferStatement(){
        $page = PurchaseTransferStatementPage::get()->find('ClassName', 'PurchaseTransferStatementPage');
        if($page) return $page;
    }
    
    function getPurchaseTransferStatementLink() {
        $page = $this->getPurchaseTransferStatement();
        if($page) return $page->Link();
    }
}
